final GetObjectLifecyclePolicyRequest getObjectLifecyclePolicyRequest = GetObjectLifecyclePolicyRequest.builder() .namespaceName(namespaceName) .bucketName(bucketName) .build();
/** * Copy method to populate the builder with values from the given instance. * @return this builder instance */ public Builder copy(GetObjectLifecyclePolicyRequest o) { namespaceName(o.getNamespaceName()); bucketName(o.getBucketName()); opcClientRequestId(o.getOpcClientRequestId()); invocationCallback(o.getInvocationCallback()); return this; }