Excuse my ignorance about these ships, but what are they really for?

Is it to show/flex muscle in the pacific area? or are they really more about disaster relief helping out other countries in time of need etc with the added benefit of dropping a heap of troops/tanks and other attacking items on someone's doorstep if needed?
First and foremost they are warfighting ships. They are designed to allow a miltary force to maneuvre and can deliver combat power at ranges and in quantities no other platform can deliver.
As a consequence of the design features needed for such a mission: helicopter carrying capability, landing craft capability, large cargo and personnel transport capability, large fuel, oil and lubricant carrying capacity, large food, supply and ammunition storage capability, medical facilities and command and control capabilities, these ships can undertake a large range of operations.
1. Combat operations (obviously) from amphibious warfare operations, to anti-surface and anti-submarine warfare.
2. Command and Control operations. These vessels have a large facility for the planning, executing and administration of miltary operations. They also have a very wide array and depth of communications capabilities, meaning they are also capable of "battle managing" or co-ordinating operations.
3. Peackeeping operations. The equipment they carry has equal utility in combat and peace enforcement/making operations. A helicopter carrying an infantry section can deliver that sectin to fight someone, or simply insert into an area and through their physical presence and ability to fight as necessary, deter those who may have fought if that section wasn't there.
4. Because of the design capabilities of these ships, they can provide great assistance in disaster relief operations or evacuation operations when carrying the proper assets.
They can do all of these things in virtually all but the most extreme weather conditions and they can do it, whether there are proper port facilities or not. They are also self-sufficient for significant periods of time, depending on the intensity of the operations they are asked to undertake and they can be replenished at sea, prolonging their endurance.
To conclude, these vessels are useful for a very broad spectrum of operations, not just combat. They provide a Government with a huge range of options, when they need it. They can do combat. They can do disaster relief, they can do just about anything RAN needs them to do and they'll do it far better than some so-called experts would like, those who call for small ships, simply because they don't "like" something that happens to look like an aircraft carrier...